package com.clgk.wechatmall.partner.bean;

import java.io.Serializable;

import com.clgk.wechatmall.common.sql.annocation.ID;
import com.clgk.wechatmall.common.sql.annocation.Table;
import com.clgk.wechatmall.common.sql.annocation.Temporal;
import com.clgk.wechatmall.common.sql.annocation.Transient;

@Table("lampserver.`T_CITY`")
public class CityBean implements Serializable {

	@Transient
	private static final long serialVersionUID = 8978892034362203836L;

	@ID
	private Long id;
	
	private String name;
	
	/**
	 * 类型：1、省，2、城市，3、区
	 */
	private Integer type;
	
	/**
	 * 父类ID
	 */
	private Long parentid;
	
	@Temporal
	private String createtime;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Long getParentid() {
		return parentid;
	}

	public void setParentid(Long parentid) {
		this.parentid = parentid;
	}

	public String getCreatetime() {
		return createtime;
	}

	public void setCreatetime(String createtime) {
		this.createtime = createtime;
	}
}
